home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Classicos / EatFruits.swf / scripts / frame_2 / PlaceObject2_24_3 / CLIPACTIONRECORD onClipEvent(enterFrame).as
Encoding:
Text File  |  2006-06-13  |  353 b   |  19 lines

  1. onClipEvent(enterFrame){
  2.    if(_root.h == 0 or _root.v == 0)
  3.    {
  4.       this._x += _root.h;
  5.       this._y += _root.v;
  6.    }
  7.    else
  8.    {
  9.       this._x += _root.h;
  10.       this._y += _root.v;
  11.       _root.h = 0;
  12.       _root.v = 0;
  13.    }
  14.    if(this.hitTest(_root.fant1) and _root.bleu == true)
  15.    {
  16.       _root.fant1.gotoAndStop(161);
  17.    }
  18. }
  19.